#include "qtmodulesexplorer.h"
#include "../XgModulesExplorer/XgW32Processes.h"

#include "ModulesModel.h"

QtModulesExplorer::QtModulesExplorer(QWidget *parent, Qt::WFlags flags)
	: QMainWindow(parent, flags)
{
	ui.setupUi(this);

	XgW32Processes processes;	
	_collector = new XgModulesCollector(processes);

	ModulesModel* mod = new ModulesModel(_collector, this);
	ui.modulesView->setModel(mod);
}

QtModulesExplorer::~QtModulesExplorer()
{

}
